package com.ler.yrmall.coupon.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ler.yrmall.config.LongToStringSerialize;
import com.ler.yrmall.coupon.entity.CouponEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @author Leron
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class CouponVO extends CouponEntity {

    @JsonSerialize(using = LongToStringSerialize.class)
    private List<Long> spuIds;

    private String receiveCount;

    private Integer useCount;

}
